import citic.c.util.Fraction;

import java.math.BigDecimal;

public class Main {

    public static void main(String[] args) {
        System.out.println("Hello World!");
        BigDecimal d=new BigDecimal("1.2012938032452345");
        System.out.println(d.scale());
        BigDecimal k=new BigDecimal(10).pow(d.scale());
        Fraction f=new Fraction(d.multiply(k).longValue(),k.longValue());
        System.out.println(f);

    }
}
